package edu.maplef.bookwild.logic.impl;

import java.util.List;

import org.junit.Test;

import edu.maplef.bookwild.TestBase;
import edu.maplef.bookwild.logic.IBookLogic;
import edu.maplef.bookwild.schema.Book;

public class BookLogicImplTest extends TestBase {

	private IBookLogic bl;

	public void setBl(IBookLogic bl) {
		this.bl = bl;
	}

	@Test
	public void test() {
		testfindBook();
	}

	public void testfindBook() {
		List<Book> l = bl.searchDoubanBook("聊斋", "", 1, 10);
		for (Book b : l) {
			System.out.println(b);
		}
	}
}
